package com.java2302.manufacturing.service;



import com.java2302.manufacturing.dto.UserDTO;
import com.java2302.manufacturing.entity.SysUser;
import com.java2302.manufacturing.vo.UserVo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserService extends UserDetailsService {
    public void addUser(UserVo userVo);

    public List<SysUser> query();

    /**
     * 根据用户名查询用户信息
     * @param username
     * @return
     */
    public UserDTO findUserWithPermissions(String username);
}
